package com.lagou.dao;

import com.lagou.pojo.User;
import java.util.List;

public interface IUserDao {

    //查询所有用户
    public List<User> findAll(User user) throws Exception;

    //根据条件查询用户
    public User findByCondition(User user) throws Exception;

    //添加用户
    public int insert(User user);

    //修改用户
    public int update(User user);

    //删除用户
    public int delete(User user);


}
